OBJS = main.o tools.o matrix.o poly.o remaindering.o
CC = cc
CFLAGS = -Wall -lgmp -pg


cover: $(OBJS)
	cc $(OBJS) -o cover -lgmp

debug: $(OBJS)
	cc $(OBJS) -o cover -g -lgmp -O0

profile: main_profile.o tools.h
	cc -pg main.o -o cover -lgmp 


%.o: %.c
	cc -c -pg -g $? -o $@

clean:
	rm *.o cover
